package Member.servise.impl;

import Member.dao.MemberDao;
import Member.dao.impl.MemberDaoImpl;
import Member.entiy.Member;
import Member.servise.MemberSers;

import java.util.List;

public class MemberSerImpl implements MemberSers {
    MemberDao dao=new MemberDaoImpl();
    @Override
    public List<Member> getList(int page, int pagesize) {
        return dao.getList(page,pagesize);
    }

    @Override
    public int addInfor(Member m) {
        return dao.addInfor(m);
    }

    @Override
    public int getCount() {
        return dao.getCount();
    }

    @Override
    public int deletInfor(Member s) {
        return dao.deletInfor(s);
    }

    @Override
    public List<Member> getLike(String name) {
        return dao.getLike(name);
    }
}
